#ifndef _PROGRESS_H_
#define _PROGRESS_H_

// progress class, added by regret

class Progress : public IProgress {
public:
	int progressPosBurn, progressPosBurner;
	int progressMin, progressMax;

	virtual bool range(double _range);
	virtual bool update(double progress, const char* text, bool abs);

	bool updateBurner(double progress, const wchar_t* text, bool abs);

	Progress();
	virtual ~Progress() {}
};

extern Progress* burnerProgress;

bool progressUpdateBurner(double progress, const wchar_t* text, bool abs);
int progressCreate();
int progressDestroy();

#endif
